package com.ctshk.rpc.user.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 *  用户收藏listDTO
 * </p>
 *
 * @author 李新科
 * @date 2021/5/17 11:35
 */
@Data
@ApiModel
public class UserCollectionListDTO implements Serializable {

    @ApiModelProperty(value="类型,从SystemBusinessType类取值，1.2旅行团 6.7自由行 8.酒店 9.机票 10.火车票 11.船票 12.巴士票 13.机场快线 14.景点门票 15.当地玩乐 18.商品")
    private Integer type;

    @ApiModelProperty(value="类型,从SystemBusinessType类取值，1.2旅行团 6.7自由行 8.酒店 9.机票 10.火车票 11.船票 12.巴士票 13.机场快线 14.景点门票 15.当地玩乐 18.商品")
    private String typeName;

    @ApiModelProperty(value="标题")
    private String title;

    @ApiModelProperty(value="内容")
    private String content;

    @ApiModelProperty(value="币种id")
    private Long currencyId;

    @ApiModelProperty(value="币种")
    private String currency;

    @ApiModelProperty(value="金额")
    private BigDecimal price;

    @ApiModelProperty(value="封面地址")
    private String coverUrl;

    @ApiModelProperty(value="星级")
    private Integer starLevel;

    @ApiModelProperty(value="详情id")
    private Long detailId;

    @ApiModelProperty(value = "入住日期")
    private LocalDate checkInDate = LocalDate.now();

    @ApiModelProperty(value = "离店日期")
    private LocalDate checkOutDate = LocalDate.now().plusDays(1);

    @ApiModelProperty(value = "房间数")
    private Integer roomNum = 1;

    @ApiModelProperty(value = "成人数")
    private Integer adultNum = 1;

    @ApiModelProperty(value = "小童数")
    private Integer childrenNum = 0;
}
